package com.example.demo.po;

import java.util.Date;


public class User {

    /**
     * id 数据库主键，自增
     */
    private Integer id;


    /**
     * 用户姓名
     */
    private String name;


    /**
     * 身份证号码
     */
    private String cardNo;

    /**
     * 手机号
     */
    private String phoneNo;

    /**
     *  创建时间
     */
    private Date createDate;

    /**
     * 最后更新时间
     */
    private Date updateDate;

    /**
     * 健康码的值，1,2,3，默认值 1，绿马，黄吗，红吗，其他
     */
    private int healthStatus = 1;

    /**
     * 备注
     */
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public int getHealthStatus() {
        return healthStatus;
    }

    public void setHealthStatus(int healthStatus) {
        this.healthStatus = healthStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", phoneNo='" + phoneNo + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", healthStatus=" + healthStatus +
                ", remark='" + remark + '\'' +
                '}';
    }
}
